From 53312cf696516cdeb1c284008992022a210bb233 Mon Sep 17 00:00:00 2001 From: Benjamin Otte Date: Wed, 20 Oct 2021 20:02:26 +0200 Subject: [PATCH] surface: Remove (nullable) The function only returns NULL on error, and such a function is not considered nullable. --- gdk/gdksurface.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gdk/gdksurface.c b/gdk/gdksurface.c index 40d9c21b8f..9430a4a111 100644 --- a/gdk/gdksurface.c +++ b/gdk/gdksurface.c @@ -1171,7 +1171,7 @@ gdk_surface_get_paint_gl_context (GdkSurface *surface, * Before using the returned `GdkGLContext`, you will need to * call [method@Gdk.GLContext.make_current] or [method@Gdk.GLContext.realize]. * - * Returns: (transfer full) (nullable): the newly created `GdkGLContext` + * Returns: (transfer full): the newly created `GdkGLContext` */ GdkGLContext * gdk_surface_create_gl_context (GdkSurface *surface, -- 2.30.2